ExamPlay Light Logo
Pierakstīties

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 4 - No. 17)

Which of the following loop structures is most appropriate for reading values into an array with a known length?
REPEAT ... UNTIL
WHILE ... DO ... ENDWHILE
FOR ... TO ... NEXT
CASE OF... OTHERWISE...ENDCASE

Paskaidrojums

The FOR...TO...NEXT loop is ideal for iterating a specific number of times, making it suitable for reading values into an array with a fixed size.

komentāri (0)

Piesakieties, lai komentētu
Reklāma
BrainBehindX Inc Logo
©2026; Powered by BrainBehindX Inc